<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #outer {
            width: 1000px;
            height: 300px;
            background-color: skyblue;
            border-top: 1px solid transparent;
        }
        
        #outer:hover {
            transform: translate(100px, 100px) rotate(45deg) scale(1.1, 1.2);
            transition: all 3s
        }
        
        #inner {
            width: 200px;
            height: 200px;
            margin-top: 50px;
            background-color: hotpink;
        }
    </style>
</head>

<body>
    <div id="outer">
        <div id="inner"></div>
    </div>
</body>

</html>